package com.yuanfeng.action.admin.book.service;

import com.yuanfeng.action.admin.book.dao.BookDao;
import com.yuanfeng.action.admin.book.dao.BookDaoImpl;
import com.yuanfeng.pojo.Books;

public class BookServiceImpl implements BookService {

	private BookDao bookDaoImpl;

	public void setBookDaoImpl(BookDao bookDaoImpl) {
		this.bookDaoImpl = bookDaoImpl;
	}

	/**
	 * 保存图书
	 * @param book
	 */
	public void save(Books book){
		bookDaoImpl.save(book);
	}
}
